package com.atguigu.yygh.order;

import com.atguigu.yygh.vo.order.OrderCountQueryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @ClassName OrderFeignClient
 * @Description: 类描述
 * @Author: liangxiaoqiang
 * @CreateDate: 2024/8/10 17:35
 * @UpdateUser: 更新人
 * @UpdateDate: 2024/8/10 17:35
 * @UpdateRemark: 更新的信息
 * @Version: 1.0
 */

@FeignClient(value = "service-order")
@Repository
public interface OrderFeignClient {
    /**
     * 获取订单统计数据
     */
    @PostMapping("/api/order/orderInfo/inner/getCountMap")
    Map<String, Object> getCountMap(@RequestBody OrderCountQueryVo orderCountQueryVo);

}

